package com.qidian.mes.pojo;

import java.util.Date;


public class CalPlan {//排班计划
    private Long planId;
    private String planCode;
    private String planName;
    private String calendarType;
    private String startDate;
    private String endDate;
    private String shiftType;
    private String shiftMethod;
    private Integer shiftCount;
    private String status;
    private String remark;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private Long createTimeMillis;
    private Long modifyTimeMillis;

    public CalPlan() {
    }

    public CalPlan(Long planId, String planCode, String planName, String calendarType, String startDate, String endDate, String shiftType, String shiftMethod, Integer shiftCount, String status, String remark, String createBy, Date createTime, String updateBy, Date updateTime, Long createTimeMillis, Long modifyTimeMillis) {
        this.planId = planId;
        this.planCode = planCode;
        this.planName = planName;
        this.calendarType = calendarType;
        this.startDate = startDate;
        this.endDate = endDate;
        this.shiftType = shiftType;
        this.shiftMethod = shiftMethod;
        this.shiftCount = shiftCount;
        this.status = status;
        this.remark = remark;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.createTimeMillis = createTimeMillis;
        this.modifyTimeMillis = modifyTimeMillis;
    }

    /**
     * 获取
     *
     * @return planId
     */
    public Long getPlanId() {
        return planId;
    }

    /**
     * 设置
     *
     * @param planId
     */
    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    /**
     * 获取
     *
     * @return planCode
     */
    public String getPlanCode() {
        return planCode;
    }

    /**
     * 设置
     *
     * @param planCode
     */
    public void setPlanCode(String planCode) {
        this.planCode = planCode;
    }

    /**
     * 获取
     *
     * @return planName
     */
    public String getPlanName() {
        return planName;
    }

    /**
     * 设置
     *
     * @param planName
     */
    public void setPlanName(String planName) {
        this.planName = planName;
    }

    /**
     * 获取
     *
     * @return calendarType
     */
    public String getCalendarType() {
        return calendarType;
    }

    /**
     * 设置
     *
     * @param calendarType
     */
    public void setCalendarType(String calendarType) {
        this.calendarType = calendarType;
    }

    /**
     * 获取
     *
     * @return startDate
     */
    public String getStartDate() {
        return startDate;
    }

    /**
     * 设置
     *
     * @param startDate
     */
    public void setStartDate(String startDate) {
        this.startDate = startDate;

    }

    /**
     * 获取
     *
     * @return endDate
     */
    public String getEndDate() {
        return endDate;
    }

    /**
     * 设置
     *
     * @param endDate
     */
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    /**
     * 获取
     *
     * @return shiftType
     */
    public String getShiftType() {
        return shiftType;
    }

    /**
     * 设置
     *
     * @param shiftType
     */
    public void setShiftType(String shiftType) {
        this.shiftType = shiftType;
    }

    /**
     * 获取
     *
     * @return shiftMethod
     */
    public String getShiftMethod() {
        return shiftMethod;
    }

    /**
     * 设置
     *
     * @param shiftMethod
     */
    public void setShiftMethod(String shiftMethod) {
        this.shiftMethod = shiftMethod;
    }

    /**
     * 获取
     *
     * @return shiftCount
     */
    public Integer getShiftCount() {
        return shiftCount;
    }

    /**
     * 设置
     *
     * @param shiftCount
     */
    public void setShiftCount(Integer shiftCount) {
        this.shiftCount = shiftCount;
    }

    /**
     * 获取
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     *
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     *
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     *
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取
     *
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     *
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     *
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     *
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     *
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     *
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取
     *
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     *
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateTimeMillis() {
        if (this.createTime != null) {
            return this.createTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     *
     * @param createTimeMillis
     */
    public void setCreateTimeMillis(Long createTimeMillis) {
        this.createTimeMillis = createTimeMillis;
    }

    /**
     * 获取
     *
     * @return modifyTimeMillis
     */
    public Long getModifyTimeMillis() {
        if (this.updateTime != null) {
            return this.updateTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     *
     * @param modifyTimeMillis
     */
    public void setModifyTimeMillis(Long modifyTimeMillis) {
        this.modifyTimeMillis = modifyTimeMillis;
    }

    public String toString() {
        return "CalPlan{planId = " + planId + ", planCode = " + planCode + ", planName = " + planName + ", calendarType = " + calendarType + ", startDate = " + startDate + ", endDate = " + endDate + ", shiftType = " + shiftType + ", shiftMethod = " + shiftMethod + ", shiftCount = " + shiftCount + ", status = " + status + ", remark = " + remark + ", createBy = " + createBy + ", createTime = " + createTime + ", updateBy = " + updateBy + ", updateTime = " + updateTime + ", createTimeMillis = " + createTimeMillis + ", modifyTimeMillis = " + modifyTimeMillis + "}";
    }
}
